﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AutomationHost.ViewModels.ResultDetailsPage>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<style type="text/css">
.ActionResults .return
{
    color: #555;
    font-style: italic;
}

.ActionResults .name, .ActionResults .Params
{
    font-size: 14px;
    color: Red;
    font-weight: bold;
}

.ActionResults .params
{
    color: Black;
}

.ActionResults Result
{
    font-family: @Arial Unicode MS;
}

.ActionResults .Success
{
    color: Green;
}

.ActionResults .Failed
{
    color: Red;
}
</style>
    <h2>Details</h2>
    <table width="100%" class="ActionResults">
<tr>
<th>Return</th>
<th>Action</th>
<th>Result</th>
</tr>
<tr>
<%foreach(var a in Model.TestResult.ActionResultModels){ %>
<td><span class="return"><%=a.Return %></span></td>
<td><span class="name"><%=a.Name %>(<span class="params"><%=a.Params %></span>)</span></td>
<td><span class="Result <%=a.Result %>""><%=a.Result %></span></td>
</tr>
<%} %>
</asp:Content>
